package com.skymxc.demo.explorer;

import android.app.Application;

import com.activeandroid.ActiveAndroid;
import com.activeandroid.Configuration;
import com.skymxc.demo.explorer.entity.PageTab;

/**
 * Created by sky-mxc
 */

public class App extends Application {
    @Override
    public void onCreate() {

       Configuration configuration= new Configuration.Builder(this)
               .addModelClass(PageTab.class)
               .setDatabaseName("sky.DB")
               .setDatabaseVersion(1)
               .create();
        ActiveAndroid.initialize(configuration);
    }
}
